#ifndef GROUPMEMBERITEM_H
#define GROUPMEMBERITEM_H

#include <QWidget>
#include "publicstruct.h"

namespace Ui {
class GroupMemberItem;
}

class GroupMemberItem : public QWidget
{
    Q_OBJECT

public:
    explicit GroupMemberItem(struct st_gMemberData gmdata,QWidget *parent = nullptr);
    ~GroupMemberItem();

    bool getMe() const;

    void setMe(bool newMe);

    bool getBoss() const;
    void setBoss(bool newBoss);

private:
    Ui::GroupMemberItem *ui;
    bool me;    // 判断是否是自己
    bool boss;  // 判断是否是群主
};

#endif // GROUPMEMBERITEM_H
